#ifndef WIDGET_H
#define WIDGET_H

#include "teacher.h"
#include "student.h"

#include <QWidget>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    void classIsOver();
private:
    Teacher *m_tc;//老师的指针
    Student *m_st;//学生的指针
};
#endif // WIDGET_H
